/** Generate by swagger-axios-codegen */
/* eslint-disable */
// @ts-nocheck

import axiosStatic, { AxiosInstance, AxiosRequestConfig } from 'axios';

export interface IRequestOptions extends AxiosRequestConfig {}

export interface IRequestConfig {
  method?: any;
  headers?: any;
  url?: any;
  data?: any;
  params?: any;
}

// Add options interface
export interface ServiceOptions {
  axios?: AxiosInstance;
}

// Add default options
export const serviceOptions: ServiceOptions = {};

// Instance selector
export function axios(
  configs: IRequestConfig,
  resolve: (p: any) => void,
  reject: (p: any) => void
): Promise<any> {
  if (serviceOptions.axios) {
    return serviceOptions.axios
      .request(configs)
      .then(res => {
        const data = res.data;
        if (data.code === 200) {
          resolve(data.data);
        } else {
          reject(data.msg);
        }
      })
      .catch(err => {
        reject(err);
      });
  } else {
    throw new Error('please inject yourself instance like axios  ');
  }
}

export function getConfigs(
  method: string,
  contentType: string,
  url: string,
  options: any
): IRequestConfig {
  const configs: IRequestConfig = { ...options, method, url };
  configs.headers = {
    ...options.headers,
    'Content-Type': contentType,
  };
  return configs;
}

export const basePath = '';

export interface IList<T> extends Array<T> {}
export interface List<T> extends Array<T> {}
export interface IDictionary<TValue> {
  [key: string]: TValue;
}
export interface Dictionary<TValue> extends IDictionary<TValue> {}

export interface IListResult<T> {
  items?: T[];
}

export class ListResultDto<T> implements IListResult<T> {
  items?: T[];
}

export interface IPagedResult<T> extends IListResult<T> {
  totalCount?: number;
  items?: T[];
}

export class PagedResultDto<T = any> implements IPagedResult<T> {
  totalCount?: number;
  items?: T[];
}

// customer definition
// empty

export class DeviceManager {
  /**
   * getDevDeviceAllItems
   */
  static getDevDeviceAllItems(options: IRequestOptions = {}): Promise<DevDeviceTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getDevDeviceAllItems';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getDevDeviceItemsByDeviceCode
   */
  static getDevDeviceItemsByDeviceCode(
    params: {
      /** deviceCode */
      deviceCode?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevDeviceT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getDevDeviceItemsByDeviceCode';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { deviceCode: params['deviceCode'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getDevDeviceItemsByLocationCode
   */
  static getDevDeviceItemsByLocationCode(
    params: {
      /** locationCode */
      locationCode?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevDeviceT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getDevDeviceItemsByLocationCode';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { locationCode: params['locationCode'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getDevDeviceItemsByLocationpointCode
   */
  static getDevDeviceItemsByLocationpointCode(
    params: {
      /** locationpointCode */
      locationpointCode?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevDeviceT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getDevDeviceItemsByLocationpointCode';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { locationpointCode: params['locationpointCode'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getDevLocationinfoItemsByParentId
   */
  static getDevLocationinfoItemsByParentId(
    params: {
      /** parentId */
      parentId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevLocationinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getDevLocationinfoItemsByParentId';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { parentId: params['parentId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getLocationInfo
   */
  static getLocationInfo(options: IRequestOptions = {}): Promise<DevLocationinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getLocationInfo';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getLocationPointInfo
   */
  static getLocationPointInfo(options: IRequestOptions = {}): Promise<DevLocationinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/device/getLocationPointInfo';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export class SparepartManager {
  /**
   * addSpareDeliveryInfoAndData
   */
  static addSpareDeliveryInfoAndData(
    params: {
      /** spareDeliveryInfoVo */
      spareDeliveryInfoVo: DevSparedeliveryTVo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/addSpareDeliveryInfoAndData';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['spareDeliveryInfoVo'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * addSpareStocksInfoAndData
   */
  static addSpareStocksInfoAndData(
    params: {
      /** addSpareStocksInfo */
      addSpareStocksInfo: PostPara_AddSpareStocksInfoAndData;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/addSpareStocksInfoAndData';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['addSpareStocksInfo'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * dispensingSparePartInfoAndData
   */
  static dispensingSparePartInfoAndData(
    params: {
      /** dispensingDataInfo */
      dispensingDataInfo: PostPara_DispensingSparePartInfo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/dispensingSparePartInfoAndData';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['dispensingDataInfo'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getDevSparepartdataeditListByLocation
   */
  static getDevSparepartdataeditTListByLocation(
    params: {
      /** locationId */
      locationId: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevSparepartdataeditTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getDevSparepartdataeditTListByLocation/{locationId}';
      url = url.replace('{locationId}', params['locationId'] + '');

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getSpareDeliveryAll
   */
  static getSpareDeliveryAll(options: IRequestOptions = {}): Promise<DevSparedeliveryTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getSpareDeliveryAll';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getSpareStocksAll
   */
  static getSpareStocksAll(options: IRequestOptions = {}): Promise<DevSparestocksTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getSpareStocksAll';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getSparepartStocksAll
   */
  static getSparepartStocksAll(options: IRequestOptions = {}): Promise<DevSparepartTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getSparepartStocksAll';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getSparepartItemsByLocationpointCode
   */
  static getSparepartTItemsByLocationpointCode(
    params: {
      /** locationpointCode */
      locationpointCode: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevSparepartTVo[]> {
    return new Promise((resolve, reject) => {
      let url =
        basePath + '/api/deviceSpare/getSparepartTItemsByLocationpointCode/{locationpointCode}';
      url = url.replace('{locationpointCode}', params['locationpointCode'] + '');

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getSparepartsByDeviceCodeLs
   */
  static getSparepartsByDeviceCodeLs(
    params: {
      /** device_codes */
      deviceCodes: string[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevDeviceattachinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getSparepartsByDeviceCodeLs';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { device_codes: params['deviceCodes'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getStatisticStocksAndDeliveryDatabyLocation
   */
  static getStatisticStocksAndDeliveryDatabyLocation(
    params: {
      /** endTime */
      endTime: string;
      /** iLocationPointCode */
      iLocationPointCode: string;
      /** startTime */
      startTime: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<GetPara_StatisticStocksAndDeliveryData[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getStatisticStocksAndDeliveryDatabyLocation';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = {
        endTime: params['endTime'],
        iLocationPointCode: params['iLocationPointCode'],
        startTime: params['startTime'],
      };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * getStocksAndDeliveryDatabySparePart
   */
  static getStocksAndDeliveryDatabySparePart(
    params: {
      /** sparePartDataId */
      sparePartDataId: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<Sparepart_StocksAndDeliveryData[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/getStocksAndDeliveryDatabySparePart/{sparePartDataId}';
      url = url.replace('{sparePartDataId}', params['sparePartDataId'] + '');

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * postUpdateDevSparepartT
   */
  static postUpdateDevSparepartT(
    params: {
      /** item */
      item: DevSparepartTVo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/deviceSpare/postUpdateDevSparepartT';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['item'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export class FileManager {
  /**
   * fileUpload
   */
  static fileUpload(
    params: {
      /** file */
      file: any;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<string> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/fileUpload';

      const configs: IRequestConfig = getConfigs('post', 'multipart/form-data', url, options);

      let data = null;
      data = new FormData();
      if (params['file']) {
        if (Object.prototype.toString.call(params['file']) === '[object Array]') {
          for (const item of params['file']) {
            data.append('file', item as any);
          }
        } else {
          data.append('file', params['file'] as any);
        }
      }

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export class InspectionManager {
  /**
   * 巡检点批量添加数据
   */
  static addBatchInspection(
    params: {
      /** list */
      list: DevInspectionpointinfoT[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/addBatchInspection';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['list'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤批量添加数据
   */
  static addBatchInspectionstep(
    params: {
      /** list */
      list: DevInspectionstepT[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/addBatchInspectionstep';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['list'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检点添加单条数据
   */
  static addInspection(
    params: {
      /** entity */
      entity: DevInspectionpointinfoT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/addInspection';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['entity'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤单条数据
   */
  static addInspectionstep(
    params: {
      /** entity */
      entity: DevInspectionstepT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/addInspectionstep';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['entity'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 删除班组人员
   */
  static deleteDevJobpersonsT(
    params: {
      /** personsId */
      personsId: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteDevJobpersonsT';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
      configs.params = { personsId: params['personsId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 删除班组
   */
  static deleteDevJobteamsT(
    params: {
      /** teamsId */
      teamsId: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteDevJobteamsT';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
      configs.params = { teamsId: params['teamsId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检点删除单条数据
   */
  static deleteInspection(
    params: {
      /** id */
      id: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteInspection';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);

      let data = params['id'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检批量删除
   */
  static deleteInspectionBatch(
    params: {
      /** list */
      list?: DevInspectionpointinfoT[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteInspectionBatch';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
      configs.params = { list: params['list'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤删除单条数据
   */
  static deleteInspectionstep(
    params: {
      /** id */
      id: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteInspectionstep';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);

      let data = params['id'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤批量删除
   */
  static deleteInspectionstepBatch(
    params: {
      /** list */
      list?: number[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/deleteInspectionstepBatch';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
      configs.params = { list: params['list'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据计划子类型查询计划
   */
  static getDevJobplanTItemsBySubType(
    params: {
      /** subType */
      subType?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobplanT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/devJobplanT/GetDevJobplanTItemsBySubType';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { subType: params['subType'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据计划类型查询计划
   */
  static getDevJobplanTItemsByType(
    params: {
      /** type */
      type?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobplanT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/devJobplanT/GetDevJobplanTItemsByType';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { type: params['type'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检点查询所有
   */
  static findAllInspection(options: IRequestOptions = {}): Promise<DevInspectionpointinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/findAllInspection';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据选择的位置ID，获取默认巡检点设备信息
   */
  static getDevInspectionByAreaId(
    params: {
      /** locationId */
      locationId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInspectionpointinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevInspectionByAreaId';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { locationId: params['locationId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据巡检点查询流程
   */
  static getDevInspectionstepById(
    params: {
      /** inspectionpointId */
      inspectionpointId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInspectionstepT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevInspectionstepById';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { inspectionpointId: params['inspectionpointId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据用户账号获取班组人员
   */
  static getDevJobpersonsTByUser(
    params: {
      /** userAccount */
      userAccount?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobpersonsT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobpersonsTByUser';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { userAccount: params['userAccount'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据班组Id获取组内人员
   */
  static getDevJobpersonsTItemsByTeamId(
    params: {
      /** 班组Id */
      teamId: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobpersonsT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobpersonsTItemsByTeamId';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { teamId: params['teamId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据计划Id 获取相关设备、巡检步骤信息
   */
  static getDevJobplanById(
    params: {
      /** planId */
      planId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInStepVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobplanById';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { planId: params['planId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 获取关联的预处理站Id
   */
  static getDevJobplanByWwtpId(
    params: {
      /** planId */
      planId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInspectionpointinfoT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobplanByWwtpId';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { planId: params['planId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据父级班组获取子班组
   */
  static getDevJobteamsT(
    params: {
      /** teamsId */
      teamsId: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobteamsT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobteamsT';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { teamsId: params['teamsId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 查询所有班组
   */
  static getDevJobteamsTAllItems(options: IRequestOptions = {}): Promise<DevJobteamsT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevJobteamsTAllItems';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据计划id获取设备巡检步骤是否拍照
   */
  static getDevPlaninspectionstepT(
    params: {
      /** planId */
      planId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInStepVo> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getDevPlaninspectionstepT';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { planId: params['planId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据工单id获取设备巡检步骤信息
   */
  static getInspectionstep(
    params: {
      /** workSheetId */
      workSheetId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInStepVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getInspectionstep';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { workSheetId: params['workSheetId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据工单id获取设备巡检养护进度信息
   */
  static getMaintain(
    params: {
      /** workSheetId */
      workSheetId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getMaintain';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { workSheetId: params['workSheetId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 查询轮岗信息
   */
  static getTeamScheduleShifts(
    params: {
      /** 结束时间 */
      end: string;
      /** 位置Id */
      locationId: string;
      /** 开始时间 */
      start: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<TeamShiftInfo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getTeamScheduleShifts';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = {
        end: params['end'],
        locationId: params['locationId'],
        start: params['start'],
      };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据type，subtype查询工单
   */
  static getWorkSheetByType(
    params: {
      /** subType */
      subType?: string;
      /** type */
      type?: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobworksheetT[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/getWorkSheetByType';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { subType: params['subType'], type: params['type'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 添加人员
   */
  static postAddDevJobpersonsTLs(
    params: {
      /** devJobpersonsT */
      devJobpersonsT: DevJobpersonsT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postAddDevJobpersonsTLs';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['devJobpersonsT'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 添加单条班组
   */
  static postAddDevJobteamsT(
    params: {
      /** devJobteamsT */
      devJobteamsT: DevJobteamsT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postAddDevJobteamsT';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['devJobteamsT'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据计划生成工单
   */
  static postAddDevJobworksheetTFromPlan(
    params: {
      /** planId */
      planId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevJobworksheetT> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postAddDevJobworksheetTFromPlan';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
      configs.params = { planId: params['planId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 提交页面计划信息，新增计划
   */
  static postDevJobplan(
    params: {
      /** entity */
      entity: DevJobplanT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postDevJobplan';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['entity'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 提交相关设备、巡检步骤信息
   */
  static postDevSpectionStep(
    params: {
      /** devInStepVo */
      devInStepVo: DevInStepVo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInStepVo> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postDevSpectionStep';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['devInStepVo'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 提交工单步骤结果
   */
  static postWorkSheetStep(
    params: {
      /**  */
      circlePeriod?: number;
      /**  */
      circleUnit?: number;
      /**  */
      code?: string;
      /**  */
      deviceOrder?: number;
      /**  */
      endtime?: string;
      /**  */
      gmtCreated?: string;
      /**  */
      gmtModified?: string;
      /**  */
      imgPath?: string[];
      /**  */
      inSpectionId?: number;
      /**  */
      isStepPicture?: number;
      /**  */
      name?: string;
      /**  */
      personModified?: number;
      /**  */
      planId?: number;
      /**  */
      planJobId?: number;
      /**  */
      pointType?: string;
      /**  */
      remark?: string;
      /**  */
      sheetStepMeasure?: string;
      /**  */
      sheetStepProblem?: string;
      /**  */
      sheetStepResult?: string;
      /**  */
      starttime?: string;
      /**  */
      stateInfo?: string;
      /**  */
      stepAttention?: string;
      /**  */
      stepCycle?: string;
      /**  */
      stepEndtime?: string;
      /**  */
      stepId?: number;
      /**  */
      stepInfo?: string;
      /**  */
      stepOrder?: number;
      /**  */
      stepPicture?: number;
      /**  */
      stepPosition?: string;
      /**  */
      stepResult?: string;
      /**  */
      stepStarttime?: string;
      /**  */
      stepType?: string;
      /**  */
      stepValue?: number;
      /**  */
      workDay?: string;
      /**  */
      workSheetId?: number;
      /**  */
      x?: number;
      /**  */
      y?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevInStepVo> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/postWorkSheetStep';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
      configs.params = {
        circlePeriod: params['circlePeriod'],
        circleUnit: params['circleUnit'],
        code: params['code'],
        deviceOrder: params['deviceOrder'],
        endtime: params['endtime'],
        gmtCreated: params['gmtCreated'],
        gmtModified: params['gmtModified'],
        imgPath: params['imgPath'],
        inSpectionId: params['inSpectionId'],
        isStepPicture: params['isStepPicture'],
        name: params['name'],
        personModified: params['personModified'],
        planId: params['planId'],
        planJobId: params['planJobId'],
        pointType: params['pointType'],
        remark: params['remark'],
        sheetStepMeasure: params['sheetStepMeasure'],
        sheetStepProblem: params['sheetStepProblem'],
        sheetStepResult: params['sheetStepResult'],
        starttime: params['starttime'],
        stateInfo: params['stateInfo'],
        stepAttention: params['stepAttention'],
        stepCycle: params['stepCycle'],
        stepEndtime: params['stepEndtime'],
        stepId: params['stepId'],
        stepInfo: params['stepInfo'],
        stepOrder: params['stepOrder'],
        stepPicture: params['stepPicture'],
        stepPosition: params['stepPosition'],
        stepResult: params['stepResult'],
        stepStarttime: params['stepStarttime'],
        stepType: params['stepType'],
        stepValue: params['stepValue'],
        workDay: params['workDay'],
        workSheetId: params['workSheetId'],
        x: params['x'],
        y: params['y'],
      };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 更新班组人员信息
   */
  static putDevJobpersonsT(
    params: {
      /** devJobpersonsT */
      devJobpersonsT: DevJobpersonsT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/putDevJobpersonsT';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['devJobpersonsT'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 根据已有计划派生新计划
   */
  static putDevJobplan(
    params: {
      /** planId */
      planId?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<any> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/putDevJobplan';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
      configs.params = { planId: params['planId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 更新班组
   */
  static putDevJobteamsT(
    params: {
      /** devJobteamsT */
      devJobteamsT: DevJobteamsT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/putDevJobteamsT';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['devJobteamsT'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 更新工单状态
   */
  static putWorkSheetStart(
    params: {
      /**  */
      gmtCreated?: string;
      /**  */
      gmtModified?: string;
      /**  */
      id?: number;
      /**  */
      isAttention?: number;
      /**  */
      isOverTime?: boolean;
      /**  */
      isUse?: number;
      /**  */
      jobCode?: string;
      /**  */
      jobCost?: number;
      /**  */
      jobDevicestop?: number;
      /**  */
      jobEndtime?: string;
      /**  */
      jobFlag?: number;
      /**  */
      jobHour?: number;
      /**  */
      jobLevel?: string;
      /**  */
      jobLocation?: number;
      /**  */
      jobName?: string;
      /**  */
      jobPerson?: number;
      /**  */
      jobPersonName?: string;
      /**  */
      jobStarttime?: string;
      /**  */
      jobStatus?: string;
      /**  */
      jobStepDesc?: string;
      /**  */
      jobSubtype?: string;
      /**  */
      jobTeam?: string;
      /**  */
      jobTeamName?: string;
      /**  */
      jobType?: string;
      /**  */
      jobVerifytime?: string;
      /**  */
      parentJob?: number;
      /**  */
      personAssignor?: number;
      /**  */
      personCreated?: number;
      /**  */
      personModified?: number;
      /**  */
      personVerified?: number;
      /**  */
      processinstanceId?: string;
      /**  */
      relatedJob?: number;
      /**  */
      remark?: string;
      /**  */
      stateInfo?: string;
      /**  */
      verifyPerson?: number;
      /**  */
      verifyPersonAccount?: string;
      /**  */
      verifyPersonName?: string;
      /**  */
      version?: number;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/putWorkSheetStart';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
      configs.params = {
        gmtCreated: params['gmtCreated'],
        gmtModified: params['gmtModified'],
        id: params['id'],
        isAttention: params['isAttention'],
        isOverTime: params['isOverTime'],
        isUse: params['isUse'],
        jobCode: params['jobCode'],
        jobCost: params['jobCost'],
        jobDevicestop: params['jobDevicestop'],
        jobEndtime: params['jobEndtime'],
        jobFlag: params['jobFlag'],
        jobHour: params['jobHour'],
        jobLevel: params['jobLevel'],
        jobLocation: params['jobLocation'],
        jobName: params['jobName'],
        jobPerson: params['jobPerson'],
        jobPersonName: params['jobPersonName'],
        jobStarttime: params['jobStarttime'],
        jobStatus: params['jobStatus'],
        jobStepDesc: params['jobStepDesc'],
        jobSubtype: params['jobSubtype'],
        jobTeam: params['jobTeam'],
        jobTeamName: params['jobTeamName'],
        jobType: params['jobType'],
        jobVerifytime: params['jobVerifytime'],
        parentJob: params['parentJob'],
        personAssignor: params['personAssignor'],
        personCreated: params['personCreated'],
        personModified: params['personModified'],
        personVerified: params['personVerified'],
        processinstanceId: params['processinstanceId'],
        relatedJob: params['relatedJob'],
        remark: params['remark'],
        stateInfo: params['stateInfo'],
        verifyPerson: params['verifyPerson'],
        verifyPersonAccount: params['verifyPersonAccount'],
        verifyPersonName: params['verifyPersonName'],
        version: params['version'],
      };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * startJobWorksheet
   */
  static startJobWorksheet(
    params: {
      /** data */
      data: RepairJobSheetInfoBo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/startJobWorksheet';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['data'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检点批量修改数据
   */
  static updateBatchInspection(
    params: {
      /** list */
      list: DevInspectionpointinfoT[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/updateBatchInspection';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['list'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 巡检点修改单条数据
   */
  static updateInspection(
    params: {
      /** entity */
      entity: DevInspectionpointinfoT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/updateInspection';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['entity'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤修改单条数据
   */
  static updateInspectionstep(
    params: {
      /** entity */
      entity: DevInspectionstepT;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/updateInspectionstep';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['entity'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 步骤批量修改数据
   */
  static updateInspectionstepBatch(
    params: {
      /** list */
      list: DevInspectionstepT[];
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<number> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/inspection/updateInspectionstepBatch';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = params['list'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export class ProcessManager {
  /**
   * 添加初始测试用户
   */
  static addTestUsers(options: IRequestOptions = {}): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/addTestUsers';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 缺陷审核
   */
  static defectCheck(
    params: {
      /** data */
      data: CheckBo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/defectCheck';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['data'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 缺陷处理
   */
  static defectDeal(
    params: {
      /** data */
      data: DealBo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/defectDeal';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['data'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 缺陷上报
   */
  static defectReport(
    params: {
      /** data */
      data: DefectReportBo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/defectReport';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['data'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 是否转交、修复
   */
  static defectTransfer(
    params: {
      /** data */
      data: TransferBo;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/defectTransfer';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = params['data'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 删除任务实例
   */
  static deleteProcess(
    params: {
      /** instanceId */
      instanceId: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<boolean> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/deleteProcess';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);

      let data = params['instanceId'];

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 获取评价
   */
  static getComment(
    params: {
      /** processInstanceId */
      processInstanceId: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<string[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/getComment';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { processInstanceId: params['processInstanceId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 获取缺陷列表
   */
  static getDefectList(options: IRequestOptions = {}): Promise<DevTroublereportinfoTVo[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/getDefectList';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 获取某流程操作历史
   */
  static getDevHistoryList(
    params: {
      /** processInstanceId */
      processInstanceId: string;
    } = {} as any,
    options: IRequestOptions = {}
  ): Promise<DevProcessHistory[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/getDevHistoryList';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
      configs.params = { processInstanceId: params['processInstanceId'] };
      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * 测试方法
   */
  static test(options: IRequestOptions = {}): Promise<DevProcessHistory[]> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/api/process/test';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export class BasicErrorController {
  /**
   * errorHtml
   */
  static error(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error1(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('head', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error2(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error3(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error4(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error5(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('options', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
  /**
   * errorHtml
   */
  static error6(options: IRequestOptions = {}): Promise<ModelAndView> {
    return new Promise((resolve, reject) => {
      let url = basePath + '/error';

      const configs: IRequestConfig = getConfigs('patch', 'application/json', url, options);

      let data = null;

      configs.data = data;
      axios(configs, resolve, reject);
    });
  }
}

export interface CheckBo {
  /**  */
  needCheck?: boolean;

  /**  */
  personIncharge?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  remark?: string;

  /**  */
  user?: string;
}

export interface DealBo {
  /**  */
  personIncharge?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  troubleDiagnosis?: string;

  /**  */
  troubleReact?: string;

  /**  */
  user?: string;
}

export interface DefectReportBo {
  /**  */
  personIncharge?: string;

  /**  */
  personReport?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  troubleDesc?: string;

  /**  */
  troubleDevice?: string;

  /**  */
  troubleDeviceName?: string;

  /**  */
  troublePosition?: string;
}

export interface DevDeviceT {
  /**  */
  category?: string;

  /**  */
  code?: string;

  /**  */
  deviceCode?: string;

  /**  */
  deviceType?: string;

  /**  */
  factoryNumber?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  grade?: string;

  /**  */
  id?: string;

  /**  */
  isKeydevice?: number;

  /**  */
  isUse?: number;

  /**  */
  locationCode?: string;

  /**  */
  locationpointCode?: string;

  /**  */
  name?: string;

  /**  */
  parentDevice?: string;

  /**  */
  personDirector?: string;

  /**  */
  personModified?: string;

  /**  */
  price?: string;

  /**  */
  productionDate?: string;

  /**  */
  productionFactory?: string;

  /**  */
  qrCode?: string;

  /**  */
  remark?: string;

  /**  */
  serviceLife?: number;

  /**  */
  stateInfo?: string;

  /**  */
  status?: number;

  /**  */
  technicalParas?: string;

  /**  */
  useDate?: string;

  /**  */
  version?: string;
}

export interface DevDeviceTVo {
  /**  */
  category?: string;

  /**  */
  code?: string;

  /**  */
  deviceCode?: string;

  /**  */
  deviceType?: string;

  /**  */
  factoryNumber?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  grade?: string;

  /**  */
  id?: string;

  /**  */
  isKeydevice?: number;

  /**  */
  isUse?: number;

  /**  */
  locationCode?: string;

  /**  */
  locationName?: string;

  /**  */
  locationPointName?: string;

  /**  */
  locationpointCode?: string;

  /**  */
  name?: string;

  /**  */
  parentDevice?: string;

  /**  */
  personDirector?: string;

  /**  */
  personModified?: string;

  /**  */
  price?: string;

  /**  */
  productionDate?: string;

  /**  */
  productionFactory?: string;

  /**  */
  qrCode?: string;

  /**  */
  remark?: string;

  /**  */
  serviceLife?: number;

  /**  */
  stateInfo?: string;

  /**  */
  status?: number;

  /**  */
  technicalParas?: string;

  /**  */
  useDate?: string;

  /**  */
  version?: string;
}

export interface DevDeviceattachinfoT {
  /**  */
  attachId?: string;

  /**  */
  attachNo?: number;

  /**  */
  attachType?: number;

  /**  */
  deviceCode?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationCode?: string;

  /**  */
  personModified?: string;
}

export interface DevInStepVo {
  /**  */
  circlePeriod?: number;

  /**  */
  circleUnit?: number;

  /**  */
  code?: string;

  /**  */
  deviceOrder?: number;

  /**  */
  endtime?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  imgPath?: string[];

  /**  */
  inSpectionId?: string;

  /**  */
  isStepPicture?: number;

  /**  */
  name?: string;

  /**  */
  personModified?: string;

  /**  */
  planId?: string;

  /**  */
  planJobId?: string;

  /**  */
  pointType?: string;

  /**  */
  remark?: string;

  /**  */
  sheetStepMeasure?: string;

  /**  */
  sheetStepProblem?: string;

  /**  */
  sheetStepResult?: string;

  /**  */
  starttime?: string;

  /**  */
  stateInfo?: string;

  /**  */
  stepAttention?: string;

  /**  */
  stepCycle?: string;

  /**  */
  stepEndtime?: string;

  /**  */
  stepId?: string;

  /**  */
  stepInfo?: string;

  /**  */
  stepOrder?: number;

  /**  */
  stepPicture?: number;

  /**  */
  stepPosition?: string;

  /**  */
  stepResult?: string;

  /**  */
  stepStarttime?: string;

  /**  */
  stepType?: string;

  /**  */
  stepValue?: number;

  /**  */
  workDay?: string;

  /**  */
  workSheetId?: string;

  /**  */
  x?: number;

  /**  */
  y?: number;
}

export interface DevInspectionpointinfoT {
  /**  */
  code?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationId?: string;

  /**  */
  name?: string;

  /**  */
  personModified?: string;

  /**  */
  planJobId?: string;

  /**  */
  pointType?: string;

  /**  */
  stateInfo?: string;

  /**  */
  type?: string;

  /**  */
  version?: string;

  /**  */
  x?: number;

  /**  */
  y?: number;
}

export interface DevInspectionstepT {
  /**  */
  deviceCode?: string;

  /**  */
  deviceName?: string;

  /**  */
  deviceOrder?: number;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  inspectionpointId?: string;

  /**  */
  isUse?: number;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  stateInfo?: string;

  /**  */
  stepAttention?: string;

  /**  */
  stepCycle?: string;

  /**  */
  stepInfo?: string;

  /**  */
  stepOrder?: number;

  /**  */
  stepPicture?: number;

  /**  */
  stepPosition?: string;

  /**  */
  stepResult?: string;

  /**  */
  stepType?: string;

  /**  */
  stepValue?: number;

  /**  */
  version?: string;
}

export interface DevJobpersonsT {
  /**  */
  department?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  jobTeam?: string;

  /**  */
  personModified?: string;

  /**  */
  stateInfo?: string;

  /**  */
  userAccount?: string;

  /**  */
  userId?: string;

  /**  */
  userName?: string;

  /**  */
  userRole?: string;

  /**  */
  version?: string;
}

export interface DevJobplanT {
  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  jobLocation?: string;

  /**  */
  lastSheettime?: string;

  /**  */
  personCreated?: string;

  /**  */
  personModified?: string;

  /**  */
  planCirclePeriod?: number;

  /**  */
  planCircleUnit?: number;

  /**  */
  planEndtime?: string;

  /**  */
  planLevel?: string;

  /**  */
  planLocation?: string;

  /**  */
  planName?: string;

  /**  */
  planPerson?: string;

  /**  */
  planStarttime?: string;

  /**  */
  planStatus?: string;

  /**  */
  planSubtype?: string;

  /**  */
  planTeam?: string;

  /**  */
  planType?: string;

  /**  */
  stateInfo?: string;

  /**  */
  verifyPerson?: string;

  /**  */
  version?: string;

  /**  */
  workDay?: string;
}

export interface DevJobteamsT {
  /**  */
  department?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  parentTeam?: string;

  /**  */
  personModified?: string;

  /**  */
  stateInfo?: number;

  /**  */
  teamLocation?: string;

  /**  */
  teamName?: string;

  /**  */
  teamType?: string;

  /**  */
  version?: string;

  /**  */
  workEnd?: string;

  /**  */
  workStart?: string;
}

export interface DevJobworksheetT {
  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isAttention?: number;

  /**  */
  isOverTime?: boolean;

  /**  */
  isUse?: number;

  /**  */
  jobCode?: string;

  /**  */
  jobCost?: number;

  /**  */
  jobDevicestop?: number;

  /**  */
  jobEndtime?: string;

  /**  */
  jobFlag?: number;

  /**  */
  jobHour?: number;

  /**  */
  jobLevel?: string;

  /**  */
  jobLocation?: string;

  /**  */
  jobName?: string;

  /**  */
  jobPerson?: string;

  /**  */
  jobPersonName?: string;

  /**  */
  jobProblems?: JobStepProblemInfoBo[];

  /**  */
  jobRelatedSheets?: DevJobworksheetT[];

  /**  */
  jobStarttime?: string;

  /**  */
  jobStatus?: string;

  /**  */
  jobStepDesc?: string;

  /**  */
  jobSubtype?: string;

  /**  */
  jobTeam?: string;

  /**  */
  jobTeamName?: string;

  /**  */
  jobType?: string;

  /**  */
  jobVerifytime?: string;

  /**  */
  parentJob?: string;

  /**  */
  personAssignor?: string;

  /**  */
  personCreated?: string;

  /**  */
  personModified?: string;

  /**  */
  personVerified?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  relatedJob?: string;

  /**  */
  remark?: string;

  /**  */
  stateInfo?: string;

  /**  */
  verifyPerson?: string;

  /**  */
  verifyPersonAccount?: string;

  /**  */
  verifyPersonName?: string;

  /**  */
  version?: string;
}

export interface DevJobworksheetTVo {
  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isAttention?: number;

  /**  */
  isOverTime?: boolean;

  /**  */
  isUse?: number;

  /**  */
  jobCode?: string;

  /**  */
  jobCost?: number;

  /**  */
  jobDevicestop?: number;

  /**  */
  jobEndtime?: string;

  /**  */
  jobFlag?: number;

  /**  */
  jobHour?: number;

  /**  */
  jobLevel?: string;

  /**  */
  jobLocation?: string;

  /**  */
  jobName?: string;

  /**  */
  jobPerson?: string;

  /**  */
  jobPersonName?: string;

  /**  */
  jobProblems?: JobStepProblemInfoBo[];

  /**  */
  jobRelatedSheets?: DevJobworksheetT[];

  /**  */
  jobStarttime?: string;

  /**  */
  jobStatus?: string;

  /**  */
  jobStepDesc?: string;

  /**  */
  jobSubtype?: string;

  /**  */
  jobTeam?: string;

  /**  */
  jobTeamName?: string;

  /**  */
  jobType?: string;

  /**  */
  jobVerifytime?: string;

  /**  */
  parentJob?: string;

  /**  */
  personAssignor?: string;

  /**  */
  personCreated?: string;

  /**  */
  personModified?: string;

  /**  */
  personVerified?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  relatedJob?: string;

  /**  */
  remark?: string;

  /**  */
  stateInfo?: string;

  /**  */
  verifyPerson?: string;

  /**  */
  verifyPersonAccount?: string;

  /**  */
  verifyPersonName?: string;

  /**  */
  version?: string;
}

export interface DevLocationinfoT {
  /**  */
  code?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  location?: string;

  /**  */
  name?: string;

  /**  */
  parentId?: string;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  stateInfo?: string;

  /**  */
  version?: string;
}

export interface DevProcessHistory {
  /**  */
  endTime?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  inspectionstepId?: string;

  /**  */
  isUse?: number;

  /**  */
  jobId?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  remark?: string;

  /**  */
  startTime?: string;

  /**  */
  taskAsignee?: string;

  /**  */
  taskName?: string;
}

export interface DevSparedeliveryTVo {
  /**  */
  addDeliveryList?: PostPara_AddSpareDeliveryData[];

  /**  */
  code?: string;

  /**  */
  deliveryCount?: number;

  /**  */
  deliveryMoney?: number;

  /**  */
  deliveryPurpose?: string;

  /**  */
  deliveryType?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  jobId?: string;

  /**  */
  locationPointName?: string;

  /**  */
  locationpointCode?: string;

  /**  */
  operationPerson?: string;

  /**  */
  operationPersonName?: string;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  spareDeliveryData?: DevSparedeliverydataT[];

  /**  */
  stateInfo?: number;

  /**  */
  version?: string;
}

export interface DevSparedeliverydataT {
  /**  */
  deliveryId?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  sparepartdataId?: string;

  /**  */
  stateInfo?: number;

  /**  */
  stockCount?: number;

  /**  */
  stockPrice?: number;

  /**  */
  version?: string;
}

export interface DevSparepartTVo {
  /**  */
  addStockCount?: number;

  /**  */
  addStockPrice?: number;

  /**  */
  code?: string;

  /**  */
  factoryNumber?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  ifAlarm?: number;

  /**  */
  isUse?: number;

  /**  */
  locationpointCode?: string;

  /**  */
  name?: string;

  /**  */
  personModified?: string;

  /**  */
  productionDate?: string;

  /**  */
  productionFactory?: string;

  /**  */
  remark?: string;

  /**  */
  serviceLife?: number;

  /**  */
  sparePartData?: DevSparepartdataT[];

  /**  */
  sparetypeType?: string;

  /**  */
  standardStock?: string;

  /**  */
  stateInfo?: number;

  /**  */
  stockCount?: number;

  /**  */
  stockUnit?: string;

  /**  */
  technicalParas?: string;

  /**  */
  useDate?: string;

  /**  */
  version?: string;
}

export interface DevSparepartdataT {
  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationpointCode?: string;

  /**  */
  personModified?: string;

  /**  */
  price?: number;

  /**  */
  remark?: string;

  /**  */
  sparepartId?: string;

  /**  */
  stateInfo?: number;

  /**  */
  stockCount?: number;

  /**  */
  stockUnit?: string;

  /**  */
  version?: string;
}

export interface DevSparepartdataeditTVo {
  /**  */
  editPersonName?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationPointName?: string;

  /**  */
  locationpointCode?: string;

  /**  */
  newPrice?: number;

  /**  */
  newStock?: number;

  /**  */
  oldPrice?: number;

  /**  */
  oldStock?: number;

  /**  */
  personModified?: string;

  /**  */
  productionFactory?: string;

  /**  */
  sparePartName?: string;

  /**  */
  spareType?: string;

  /**  */
  sparepartId?: string;

  /**  */
  sparepartdataId?: string;
}

export interface DevSparestocksT {
  /**  */
  code?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  gmtVerify?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationpointCode?: string;

  /**  */
  operationPerson?: string;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  stateInfo?: number;

  /**  */
  stockType?: string;

  /**  */
  supplier?: string;

  /**  */
  verifyPerson?: string;

  /**  */
  verifyStatus?: string;

  /**  */
  version?: string;
}

export interface DevSparestocksTVo {
  /**  */
  code?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  gmtVerify?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  locationpointCode?: string;

  /**  */
  operationPerson?: string;

  /**  */
  operationPersonName?: string;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  spareStocksData?: DevSparestocksdataT[];

  /**  */
  stateInfo?: number;

  /**  */
  stockType?: string;

  /**  */
  stocksCount?: number;

  /**  */
  stocksMoney?: number;

  /**  */
  supplier?: string;

  /**  */
  verifyPerson?: string;

  /**  */
  verifyStatus?: string;

  /**  */
  version?: string;
}

export interface DevSparestocksdataT {
  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  isUse?: number;

  /**  */
  personModified?: string;

  /**  */
  remark?: string;

  /**  */
  sparepartdataId?: string;

  /**  */
  sparestocksId?: string;

  /**  */
  stateInfo?: number;

  /**  */
  stockCount?: number;

  /**  */
  stockPrice?: number;

  /**  */
  version?: string;
}

export interface DevTroublereportinfoTVo {
  /**  */
  defectCloseTime?: string;

  /**  */
  defectLevel?: string;

  /**  */
  defectPictures?: string[];

  /**  */
  gmtClosed?: string;

  /**  */
  gmtCreated?: string;

  /**  */
  gmtModified?: string;

  /**  */
  id?: string;

  /**  */
  inspectionstepId?: string;

  /**  */
  isUse?: number;

  /**  */
  jobId?: string;

  /**  */
  jobSheetObj?: DevJobworksheetT;

  /**  */
  jobStatus?: string;

  /**  */
  locationId?: string;

  /**  */
  locationName?: string;

  /**  */
  locationPointName?: string;

  /**  */
  measurePictures?: string[];

  /**  */
  personHandle?: string;

  /**  */
  personHandleName?: string;

  /**  */
  personIncharge?: string;

  /**  */
  personModified?: string;

  /**  */
  personReport?: string;

  /**  */
  personVerified?: string;

  /**  */
  problemSource?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  repairSheetObj?: DevJobworksheetT;

  /**  */
  reportType?: string;

  /**  */
  stateInfo?: string;

  /**  */
  teamHandle?: string;

  /**  */
  transferPersonId?: string;

  /**  */
  transferPersonName?: string;

  /**  */
  transferReason?: string;

  /**  */
  troubleDesc?: string;

  /**  */
  troubleDevice?: string;

  /**  */
  troubleDevicename?: string;

  /**  */
  troubleDiagnosis?: string;

  /**  */
  troublePosition?: string;

  /**  */
  troubleReact?: string;

  /**  */
  version?: string;
}

export interface GetPara_StatisticStocksAndDeliveryData {
  /**  */
  endStocksCount?: number;

  /**  */
  endStocksMoney?: number;

  /**  */
  locationPointCode?: string;

  /**  */
  locationPointName?: string;

  /**  */
  periodDeliveryCount?: number;

  /**  */
  periodDeliveryMoney?: number;

  /**  */
  periodStocksCount?: number;

  /**  */
  periodStocksMoney?: number;

  /**  */
  productionFactory?: string;

  /**  */
  sparePartId?: string;

  /**  */
  sparePartName?: string;

  /**  */
  spareType?: string;

  /**  */
  startStocksCount?: number;

  /**  */
  startStocksMoney?: number;
}

export interface JobStepProblemInfoBo {
  /**  */
  deviceCode?: string;

  /**  */
  stepId?: string;

  /**  */
  stepMeasure?: string;

  /**  */
  stepPosition?: string;

  /**  */
  stepProblem?: string;

  /**  */
  stepResult?: string;
}

export interface ModelAndView {
  /**  */
  empty?: boolean;

  /**  */
  model?: any;

  /**  */
  modelMap?: any;

  /**  */
  reference?: boolean;

  /**  */
  status?: EnumModelAndViewStatus;

  /**  */
  view?: View;

  /**  */
  viewName?: string;
}

export interface PostPara_AddSpareDeliveryData {
  /**  */
  addDeliveryCount?: number;

  /**  */
  addSparePartId?: string;
}

export interface PostPara_AddSpareStocksInfoAndData {
  /**  */
  spareStocksInfo?: DevSparestocksT;

  /**  */
  spartPartInfoVoList?: DevSparepartTVo[];
}

export interface PostPara_DispensingSparePartInfo {
  /**  */
  deliveryLocationId?: string;

  /**  */
  dispensingItems?: PostPara_DispensingSparePartItem[];

  /**  */
  operationPersonId?: string;

  /**  */
  stockLocationId?: string;
}

export interface PostPara_DispensingSparePartItem {
  /**  */
  deliveryCount?: number;

  /**  */
  deliveryId?: string;

  /**  */
  stocksId?: string;
}

export interface RepairJobSheetInfoBo {
  /**  */
  jobSteps?: DevTroublereportinfoTVo[];

  /**  */
  repairSheet?: DevJobworksheetTVo;
}

export interface Result {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: any;

  /** 错误信息 */
  msg?: string;
}

export interface Result_DevInStepVo {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevInStepVo;

  /** 错误信息 */
  msg?: string;
}

export interface Result_DevJobworksheetT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevJobworksheetT;

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevInStepVo {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevInStepVo[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevInspectionpointinfoT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevInspectionpointinfoT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevInspectionstepT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevInspectionstepT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevJobpersonsT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevJobpersonsT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevJobplanT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevJobplanT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevJobteamsT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevJobteamsT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevJobworksheetT {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevJobworksheetT[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevProcessHistory {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevProcessHistory[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_DevTroublereportinfoTVo {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: DevTroublereportinfoTVo[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_TeamShiftInfo {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: TeamShiftInfo[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_List_string {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: string[];

  /** 错误信息 */
  msg?: string;
}

export interface Result_boolean {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: boolean;

  /** 错误信息 */
  msg?: string;
}

export interface Result_int {
  /** 返回代号 */
  code?: number;

  /** 返回对象 */
  data?: number;

  /** 错误信息 */
  msg?: string;
}

export interface Sparepart_StocksAndDeliveryData {
  /**  */
  count?: number;

  /**  */
  locationPointCode?: string;

  /**  */
  locationPointName?: string;

  /**  */
  personName?: string;

  /**  */
  productionFactory?: string;

  /**  */
  remark?: string;

  /**  */
  sparePartDataId?: string;

  /**  */
  sparePartId?: string;

  /**  */
  sparePartName?: string;

  /**  */
  spareType?: string;

  /**  */
  stocksAndDeliveryTime?: string;

  /**  */
  stocksAndDeliveryType?: string;
}

export interface TeamShiftInfo {
  /**  */
  locationId?: string;

  /**  */
  teamId?: string;

  /**  */
  teamName?: string;

  /**  */
  teamType?: string;

  /**  */
  timeInfo?: string;
}

export interface TransferBo {
  /**  */
  personIncharge?: string;

  /**  */
  processinstanceId?: string;

  /**  */
  remark?: string;

  /**  */
  user?: string;
}

export interface View {
  /**  */
  contentType?: string;
}
export enum EnumModelAndViewStatus {
  '100 CONTINUE' = '100 CONTINUE',
  '101 SWITCHING_PROTOCOLS' = '101 SWITCHING_PROTOCOLS',
  '102 PROCESSING' = '102 PROCESSING',
  '103 CHECKPOINT' = '103 CHECKPOINT',
  '200 OK' = '200 OK',
  '201 CREATED' = '201 CREATED',
  '202 ACCEPTED' = '202 ACCEPTED',
  '203 NON_AUTHORITATIVE_INFORMATION' = '203 NON_AUTHORITATIVE_INFORMATION',
  '204 NO_CONTENT' = '204 NO_CONTENT',
  '205 RESET_CONTENT' = '205 RESET_CONTENT',
  '206 PARTIAL_CONTENT' = '206 PARTIAL_CONTENT',
  '207 MULTI_STATUS' = '207 MULTI_STATUS',
  '208 ALREADY_REPORTED' = '208 ALREADY_REPORTED',
  '226 IM_USED' = '226 IM_USED',
  '300 MULTIPLE_CHOICES' = '300 MULTIPLE_CHOICES',
  '301 MOVED_PERMANENTLY' = '301 MOVED_PERMANENTLY',
  '302 FOUND' = '302 FOUND',
  '302 MOVED_TEMPORARILY' = '302 MOVED_TEMPORARILY',
  '303 SEE_OTHER' = '303 SEE_OTHER',
  '304 NOT_MODIFIED' = '304 NOT_MODIFIED',
  '305 USE_PROXY' = '305 USE_PROXY',
  '307 TEMPORARY_REDIRECT' = '307 TEMPORARY_REDIRECT',
  '308 PERMANENT_REDIRECT' = '308 PERMANENT_REDIRECT',
  '400 BAD_REQUEST' = '400 BAD_REQUEST',
  '401 UNAUTHORIZED' = '401 UNAUTHORIZED',
  '402 PAYMENT_REQUIRED' = '402 PAYMENT_REQUIRED',
  '403 FORBIDDEN' = '403 FORBIDDEN',
  '404 NOT_FOUND' = '404 NOT_FOUND',
  '405 METHOD_NOT_ALLOWED' = '405 METHOD_NOT_ALLOWED',
  '406 NOT_ACCEPTABLE' = '406 NOT_ACCEPTABLE',
  '407 PROXY_AUTHENTICATION_REQUIRED' = '407 PROXY_AUTHENTICATION_REQUIRED',
  '408 REQUEST_TIMEOUT' = '408 REQUEST_TIMEOUT',
  '409 CONFLICT' = '409 CONFLICT',
  '410 GONE' = '410 GONE',
  '411 LENGTH_REQUIRED' = '411 LENGTH_REQUIRED',
  '412 PRECONDITION_FAILED' = '412 PRECONDITION_FAILED',
  '413 PAYLOAD_TOO_LARGE' = '413 PAYLOAD_TOO_LARGE',
  '413 REQUEST_ENTITY_TOO_LARGE' = '413 REQUEST_ENTITY_TOO_LARGE',
  '414 URI_TOO_LONG' = '414 URI_TOO_LONG',
  '414 REQUEST_URI_TOO_LONG' = '414 REQUEST_URI_TOO_LONG',
  '415 UNSUPPORTED_MEDIA_TYPE' = '415 UNSUPPORTED_MEDIA_TYPE',
  '416 REQUESTED_RANGE_NOT_SATISFIABLE' = '416 REQUESTED_RANGE_NOT_SATISFIABLE',
  '417 EXPECTATION_FAILED' = '417 EXPECTATION_FAILED',
  '418 I_AM_A_TEAPOT' = '418 I_AM_A_TEAPOT',
  '419 INSUFFICIENT_SPACE_ON_RESOURCE' = '419 INSUFFICIENT_SPACE_ON_RESOURCE',
  '420 METHOD_FAILURE' = '420 METHOD_FAILURE',
  '421 DESTINATION_LOCKED' = '421 DESTINATION_LOCKED',
  '422 UNPROCESSABLE_ENTITY' = '422 UNPROCESSABLE_ENTITY',
  '423 LOCKED' = '423 LOCKED',
  '424 FAILED_DEPENDENCY' = '424 FAILED_DEPENDENCY',
  '425 TOO_EARLY' = '425 TOO_EARLY',
  '426 UPGRADE_REQUIRED' = '426 UPGRADE_REQUIRED',
  '428 PRECONDITION_REQUIRED' = '428 PRECONDITION_REQUIRED',
  '429 TOO_MANY_REQUESTS' = '429 TOO_MANY_REQUESTS',
  '431 REQUEST_HEADER_FIELDS_TOO_LARGE' = '431 REQUEST_HEADER_FIELDS_TOO_LARGE',
  '451 UNAVAILABLE_FOR_LEGAL_REASONS' = '451 UNAVAILABLE_FOR_LEGAL_REASONS',
  '500 INTERNAL_SERVER_ERROR' = '500 INTERNAL_SERVER_ERROR',
  '501 NOT_IMPLEMENTED' = '501 NOT_IMPLEMENTED',
  '502 BAD_GATEWAY' = '502 BAD_GATEWAY',
  '503 SERVICE_UNAVAILABLE' = '503 SERVICE_UNAVAILABLE',
  '504 GATEWAY_TIMEOUT' = '504 GATEWAY_TIMEOUT',
  '505 HTTP_VERSION_NOT_SUPPORTED' = '505 HTTP_VERSION_NOT_SUPPORTED',
  '506 VARIANT_ALSO_NEGOTIATES' = '506 VARIANT_ALSO_NEGOTIATES',
  '507 INSUFFICIENT_STORAGE' = '507 INSUFFICIENT_STORAGE',
  '508 LOOP_DETECTED' = '508 LOOP_DETECTED',
  '509 BANDWIDTH_LIMIT_EXCEEDED' = '509 BANDWIDTH_LIMIT_EXCEEDED',
  '510 NOT_EXTENDED' = '510 NOT_EXTENDED',
  '511 NETWORK_AUTHENTICATION_REQUIRED' = '511 NETWORK_AUTHENTICATION_REQUIRED',
}
